package com.yswy.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yswy.domain.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("推广渠道配置子表")
@TableName(value = "tg_channle_child")
public class TgChannleChild extends BasePojo<TgChannleChild> {
    @ApiModelProperty("推广渠道ID")
    private Integer tgChannleId;
    @ApiModelProperty("渠道标签")
    private String channle;
    @ApiModelProperty("检测链接")
    private String  urlMsg;
    @ApiModelProperty("备注")
    private String  remarks;
    @ApiModelProperty("考核类型  0 付费  1 广告ecpm")
    private Integer  examineType ;
    @ApiModelProperty("默认考核价格")
    private Long  examinePrice ;
    @ApiModelProperty("考核ecmp")
    private BigDecimal ecmp;
    @ApiModelProperty("考核展示次数 imp_cnt")
    private Integer impCnt;
    @ApiModelProperty("是否开启扣量 0 不开启   1 开启")
    private Long  isOpen ;
    @TableField(exist = false)
    private List<TgChannleChildCode> tgChannleChildCodes ;

}
